﻿@model PlmTurnoverViewModel
@{
    Layout = null;
    ViewBag.Title = "人员变动审核";
}
<script src="/Scripts/jQuery/jquery.validate.min.js" type="text/javascript"></script>
<script src="/Scripts/jQuery/jquery.validate.unobtrusive.min.js" type="text/javascript"></script>
@{Html.EnableClientValidation();}
@using (Html.BeginForm("SaveCheckResult", "PlmTurnoverCheck", null, FormMethod.Post, new { onsubmit = "return validateCallback(this,dialogAjaxDone);", @class = "pageForm required-validate" }))
{
@*<form method="post" action="@Url.Action("SaveCheckResult", "PlmTurnoverCheck")" class="pageForm required-validate" onsubmit="return validateCallback(this,dialogAjaxDone)">*@
<div class="pageFormContent sortDrag" layouth="58">
    @Html.TextBoxFor(model => model.ThePlmTurnoverInfoInfo.T_DeclarationDate, new { @type = "hidden" })
    @Html.TextBoxFor(model => model.ThePlmTurnoverInfoInfo.T_Type, new { @type = "hidden" })
    @Html.TextBoxFor(model => model.ThePlmTurnoverInfoInfo.T_SectionName, new { @type = "hidden" })
    @Html.TextBoxFor(model => model.ThePlmTurnoverInfoInfo.T_SectionID, new { @type = "hidden" })
    @Html.TextBoxFor(model => model.ThePlmTurnoverInfoInfo.T_Position, new { @type = "hidden" })
    @Html.TextBoxFor(model => model.ThePlmTurnoverInfoInfo.T_UnitName, new { @type = "hidden" })
    @Html.TextBoxFor(model => model.ThePlmTurnoverInfoInfo.T_Applicant, new { @type = "hidden" })
    @Html.TextBoxFor(model => model.ThePlmTurnoverInfoInfo.T_ExistingStaff, new { @type = "hidden" })
    @Html.TextBoxFor(model => model.ThePlmTurnoverInfoInfo.T_ChangePersonnel, new { @type = "hidden" })
    @Html.TextBoxFor(model => model.ThePlmTurnoverInfoInfo.T_Reason, new { @type = "hidden" })
    <table class="tab01 tabNo" width="100%">
        <tr>
            <td class="td1" style="width:25%;">
                审核人：
            </td>
            <td>
                @Html.TextBoxFor(model => model.ThePlmTurnoverInfoInfo.T_ID, new { @type = "hidden" })
                @Html.TextBoxFor(model => model.ThePlmTurnoverInfoInfo.T_UserName, new { @readonly = "readonly", Value = "审核人", @class="input02" })
            </td>
        </tr>
        <tr>
            <td class="td1">
                操作时间：
            </td>
            <td>
                @Html.TextBoxFor(model => model.ThePlmTurnoverInfoInfo.T_UpdateTime, new { Value = Model.ThePlmTurnoverInfoInfo.T_UpdateTime.ToString("yyyy-MM-dd"), @readonly = "readonly", @class = "input02" })
            </td>
        </tr>
        <tr>
            <td class="td1">
                审核状态：
            </td>
            <td>
                @* <select name="type" class="required combox">
                        <option value="审核通过">审核通过</option>
                        <option value="审核不通过">审核不通过</option>
                    </select>*@
                @Html.DropDownListFor(model => model.ThePlmTurnoverInfoInfo.T_State, ViewBag.listState as IEnumerable<SelectListItem>)
            </td>
        </tr>
        <tr>
            <td class="td1">
                审核意见：
            </td>
            <td>
                 @Html.TextBoxFor(model => model.ThePlmTurnoverInfoInfo.T_ApprovalOpinion, new Dictionary<string, object> { { "class", "data-val-required input05" }})
                 @Html.ValidationMessageFor(model => model.ThePlmTurnoverInfoInfo.T_ApprovalOpinion)
               @* @Html.TextBoxFor(model => model.ThePlmTurnoverInfoInfo.T_ApprovalOpinion, new { @class="input05" })*@
            </td>
        </tr>
    </table>
</div>
<div class="formBar">
    <ul>
        <li>
            <button type="submit" class="btn btn-sm">
                审核</button>
        </li>
        <li>
            <button type="button" class="close btn btn-default btn-sm">
                取消</button>
        </li>
    </ul>
</div>
@*</form>*@
}
